{% extends "base.html" %}

{% block fades %}
  fadeColor("heading","#FFFFFF","#000000",4,20,'f');
  fadeColor("QAFade","#FFFFFF","#000000",4,20,'f');
{% endblock %}

{% block upperLeft %}
  <logout>
    {{person.firstName}} {{person.lastName}},
    <a href="/?logout=1">logout</a>
  </logout>
{% endblock %}

{% block content %}
 <div id="content">
    {% for qa in qas %}
      <div id="questionAnswer" name="questionAnswer">
        <div id="QADate" name="QAFade">
          {{qa.a.date|safe}}
        </div>
        <div id="QAText" name="QAFade">
          {{qa.q.text|safe}}
        </div>
        <div id="QAAnswer" name="QAFade">
	  {% if qa.a.value = 1 %}
	    Ja
	  {% else %}
	    Nej
	  {% endif %}
       </div>
       <br>
     </div>
    {% endfor %}
  </div>
{% endblock %}
